import request from '@/utils/request'

// 查询抖音订单售后列表
export function listBiDyOrderAftersales(query) {
  return request({
    url: '/live/BiDyOrderAftersales/list',
    method: 'get',
    params: query
  })
}

// 查询抖音订单售后详细
export function getBiDyOrderAftersales(id) {
  return request({
    url: '/live/BiDyOrderAftersales/' + id,
    method: 'get'
  })
}

// 新增抖音订单售后
export function addBiDyOrderAftersales(data) {
  return request({
    url: '/live/BiDyOrderAftersales',
    method: 'post',
    data: data
  })
}

// 修改抖音订单售后
export function updateBiDyOrderAftersales(data) {
  return request({
    url: '/live/BiDyOrderAftersales',
    method: 'put',
    data: data
  })
}

// 删除抖音订单售后
export function delBiDyOrderAftersales(id) {
  return request({
    url: '/live/BiDyOrderAftersales/' + id,
    method: 'delete'
  })
}
